﻿using System;

namespace INNOVACALL.Framework.Common.Logging
{
    public class Common_Exception : Exception
    {
        public Common_Exception(string message) : base(message)
        {
			Logger.Error(enLog.Error, this);
        }

        public Common_Exception(string message, Common_Exception innerException)
            : base(message, innerException)
        {
            Logger.Error(enLog.Error, innerException ?? this);
        }


    }
}
